﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebForum.ForumPages
{
    public partial class ForumPage : System.Web.UI.Page
    {
        public List<String> details { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            int fID = Convert.ToInt32(Request.QueryString["ForumID"]);
            details = DataAccessLayer.ForumDataLayer.GetForumDetails(fID);
        }

        protected void ObjectDataSource1_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
        {
            e.InputParameters["forumID"] = Request.QueryString["ForumID"];
            //Response.Write(Request.QueryString["forumID"]);
        }

        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}